<html>
<head>
<title> Taxi Cab Management System Map</title>

<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAFzj_-JbsjaE0AO2JsD8IqhTchv_-9Dxr5r24NY9LzPA8Ml9V3BRuDioQIbmjFukw4KZQkyHhusLT8A"
            type="text/javascript"></script>

<script type="text/javascript">

}
</script>


   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
   
   <script type="text/javascript">
   
     function initialize() {
   
    if (GBrowserIsCompatible()) {
    
    var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(37.331689,-122.030731,true), 10);
        map.setUIToDefault();
   
   var lon = new Array(); 
   var lat = new Array();
   var point = new Array();
   
     $(document).ready(function(){
     
     
     
     
     
    /*
    for( var i=1; i <=1; i++){
		$.getJSON('http://sunna-server.appspot.com/cabs/'+i, function(data) { 
	//	if (typeof data.error=="undefined"){
	//	break;
	//        			}// End of if statement
  	 		lon[i] = data.longitude;
  	 		lat[i] = data.latitude;
  	 			point[i] = new GLatLng(lat[i], lon[i]); 
				map.addOverlay(new GMarker(point[i])); //Adds Marker to the Map
  	 		//alert("marker 1")
  	 		});// End of getJson  	 		
				}// End of for statement
				
				
				
				$.getJSON('http://sunna-server.appspot.com/cabs/4001', function(data) { 

  	 		lon[4001] = data.longitude;
  	 		lat[4001] = data.latitude;
  	 			point[4001] = new GLatLng(lat[4001], lon[4001]); 
				map.addOverlay(new GMarker(point[4001])); //Adds Marker to the Map
  	 		//alert("marker 2")
  	 		});// End of getJson  	 	
				
				
				     });// End of ready function 
     }// End of Gbrowser 
     }// end of Initialize()
     */
   </script>


</head>

<body onload="initialize()" onunload="GUnload()">
<div id="map_area" style="position: absolute; top: 0; right: 0; bottom: 0; left: 0">
 <div id="map_canvas" style="width: 500px; height: 300px"></div>
</div>
</br>
<script type="text/javascript">
test();
</script>

</br>

   

</body>

</html>